home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Hyper / U-Z / XUpdater 1.0.1v2.sit / XUpdater 1.0.1v2 / XUpdater 1.0.1v2 / cards.xml < prev    next >
Encoding:
Text File  |  1994-05-15  |  4.6 KB  |  142 lines

  1. card_3039.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3039</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3703.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2582</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3077.css" />
  13.     <part>
  14.         <id>3</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <true /> </enabled>
  23.         <rect>
  24.             <left>13</left>
  25.             <top>124</top>
  26.             <right>170</right>
  27.             <bottom>150</bottom>
  28.         </rect>
  29.         <style>standard</style>
  30.         <showName> <true /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <true /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name>Select Old Version</name>
  42.         <script>on mouseUpglobal targetStackanswer file "Please select the stack which contains the XCMD/XFCN to update..." of type "STAK"if it is not empty thenput it into targetStackrepeat for 4 timesset the hilite of cd btn "Update" to truewait 10 ticksset the hilite of cd btn "Update" to falsewait 10 ticksend repeatelseanswer "No stack selected."put "" into targetStackend ifend mouseUp</script>
  43.     </part>
  44.     <part>
  45.         <id>4</id>
  46.         <type>button</type>
  47.         <visible> <true /> </visible>
  48.         <reserved5> 0 </reserved5>
  49.         <reserved4> 0 </reserved4>
  50.         <reserved3> 0 </reserved3>
  51.         <reserved2> 0 </reserved2>
  52.         <reserved1> 0 </reserved1>
  53.         <enabled> <true /> </enabled>
  54.         <rect>
  55.             <left>190</left>
  56.             <top>122</top>
  57.             <right>223</right>
  58.             <bottom>153</bottom>
  59.         </rect>
  60.         <style>transparent</style>
  61.         <showName> <false /> </showName>
  62.         <highlight> <false /> </highlight>
  63.         <autoHighlight> <false /> </autoHighlight>
  64.         <sharedHighlight> <true /> </sharedHighlight>
  65.         <family>0</family>
  66.         <titleWidth>0</titleWidth>
  67.         <icon>26425</icon>
  68.         <textAlign>center</textAlign>
  69.         <font>Chicago</font>
  70.         <textSize>12</textSize>
  71.         <textStyle>plain</textStyle>
  72.         <name></name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>5</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>243</left>
  87.             <top>124</top>
  88.             <right>400</right>
  89.             <bottom>150</bottom>
  90.         </rect>
  91.         <style>standard</style>
  92.         <showName> <true /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <true /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>Update</name>
  104.         <script>on mouseUpglobal targetStack, xIdentif targetStack is empty thenbeepanswer "Sorry, no previous version selected."exit mouseUpend ifanswer file "Please locate and open the updater module..." of type "SPXu"if it is empty thenbeepanswer "Update failed."exit mouseUpelseput it into moduleFileput ResText( "STR ", 128, moduleFile, true, false ) into xIdentCopyRes moduleFile, targetStack, "XFCN", xIdent, K, trueCopyRes moduleFile, targetStack, "vers", "Version Rsrc",K, trueanswer "Update completed successfully."end ifend mouseUp</script>
  105.     </part>
  106.     <part>
  107.         <id>7</id>
  108.         <type>button</type>
  109.         <visible> <true /> </visible>
  110.         <reserved5> 0 </reserved5>
  111.         <reserved4> 0 </reserved4>
  112.         <reserved3> 0 </reserved3>
  113.         <reserved2> 0 </reserved2>
  114.         <reserved1> 0 </reserved1>
  115.         <enabled> <true /> </enabled>
  116.         <rect>
  117.             <left>4</left>
  118.             <top>167</top>
  119.             <right>231</right>
  120.             <bottom>190</bottom>
  121.         </rect>
  122.         <style>rectangle</style>
  123.         <showName> <true /> </showName>
  124.         <highlight> <false /> </highlight>
  125.         <autoHighlight> <true /> </autoHighlight>
  126.         <sharedHighlight> <true /> </sharedHighlight>
  127.         <family>0</family>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>0</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Chicago</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <name>About XUpdater‚Ķ</name>
  135.         <script>on mouseUpput DialogDisplay( setTextFont, geneva ) into xput DialogDisplay( setTextSize, 9 ) into xput DialogDisplay( setButtonDefault, true ) into xput DialogDisplay( showDialog, 15001 ) into xend mouseUp</script>
  136.     </part>
  137.     <name></name>
  138.     <script></script>
  139. </card>
  140.  
  141.  
  142.